/*
 *  Copyright 2011 Alexey Andreev.
 * 
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 * 
 *       http://www.apache.org/licenses/LICENSE-2.0
 * 
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *  under the License.
 */
package org.xthl.core.view;

/**
 *
 * @author Alexey Andreev
 */
public class EditableBlockSight {
    private int id;
    private String title;
    private String content;
    private BlockType type;
    private boolean enabled;
    private boolean removable;
    private boolean moveUpAvailable;
    private boolean moveDownAvailable;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public BlockType getType() {
        return type;
    }

    public void setType(BlockType type) {
        this.type = type;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public boolean isRemovable() {
        return removable;
    }

    public void setRemovable(boolean removable) {
        this.removable = removable;
    }

    public boolean isMoveUpAvailable() {
        return moveUpAvailable;
    }

    public void setMoveUpAvailable(boolean moveUpAvailable) {
        this.moveUpAvailable = moveUpAvailable;
    }

    public boolean isMoveDownAvailable() {
        return moveDownAvailable;
    }

    public void setMoveDownAvailable(boolean moveDownAvailable) {
        this.moveDownAvailable = moveDownAvailable;
    }
}
